package com.newoffen.com.page;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.CacheLookup;
import org.openqa.selenium.support.FindBy;


public class PlatformPageElement {
    //登录页面元素
    @FindBy(name="username")
    @CacheLookup
    public WebElement input_username;

    @FindBy(id="lj-0525-password")
    @CacheLookup
    public WebElement input_passwd;

    @FindBy(id="lj-0525-verify")
    @CacheLookup
    public WebElement input_code;

    @FindBy(xpath="//*[@id=\"app\"]/div/div[2]/div/div[2]/form/button")
    @CacheLookup
    public WebElement btn_login;

    @FindBy(id="jun_0518_02")
    @CacheLookup
    public WebElement platform;

    @FindBy(id="ml_0511_route10")
    @CacheLookup
    public WebElement menu_store;

    @FindBy(id="ml_0511_nest340")
    @CacheLookup
    public WebElement menu_storeList;

    @FindBy(id="yl_0427_edit263")
    @CacheLookup
    public WebElement updateStore;

    @FindBy(id="yl_0427_14")
    @CacheLookup
    public  WebElement btn_save;

    @FindBy(id = "yl_0427_17")
    @CacheLookup
    public  WebElement input_storeName;

    @FindBy(id="yl_0427_18")
    @CacheLookup
    public  WebElement input_salesclerkName;

    @FindBy(id="yl_0427_20")
    @CacheLookup
    public  WebElement btn_search;

    @FindBy(id="yl_0427_name263")
    @CacheLookup
    public  WebElement text_storeName;

    @FindBy(id="yl_0427_name264")
    @CacheLookup
    public WebElement store_name;

    @FindBy(id = "ml_0511_nest347")
    @CacheLookup
    public WebElement settlement;

    @FindBy(id = "yl_0427_bill264")
    @CacheLookup
    public WebElement bill;

    @FindBy(id = "tab-1")
    @CacheLookup
    public WebElement bill_day;

    //商品菜单按钮
    @FindBy(id = "ml_0511_route9")
    @CacheLookup
    public WebElement menu_goods;
    //商品列表按钮
    @FindBy(id = "ml_0511_route9")
    @CacheLookup
    public WebElement menu_goodsList;
    //商品名称搜索输入框
    @FindBy(id = "yl_0427_24")
    @CacheLookup
    public WebElement input_goodsName;
    //商品ID搜索输入框
    @FindBy(id = "yl_0427_25")
    @CacheLookup
    public WebElement input_goodsID;
    //商品分类搜索输入框
    @FindBy(id = "yl_0427_27")
    @CacheLookup
    public WebElement input_goodsType;
    //商品搜索按钮
    @FindBy(id = "yl_0427_27")
    @CacheLookup
    public WebElement btn_goodsSearch;
    //商品编辑按钮
    @FindBy(id = "yl_0427_edit2509")
    @CacheLookup
    public WebElement updateGoods;
    //商品保存按钮
    @FindBy(id = "yl_0427_45")
    @CacheLookup
    public WebElement goodssave;
    //订单菜单
    @FindBy(id = "ml_0511_route10")
    @CacheLookup
    public WebElement menu_order;
    //快递订单
    @FindBy(id = "ml_0511_route10")
    @CacheLookup
    public WebElement menu_orderList;
    //订单搜索类型
    @FindBy(id = "yl_0427_46")
    @CacheLookup
    public WebElement input_searchType;
    //快递订单输入框
    @FindBy(id = "yl_0427_47")
    @CacheLookup
    public WebElement input_orderNo;
    //快递订单付款方式搜索
    @FindBy(id = "yl_0427_48")
    @CacheLookup
    public WebElement input_payType;
    //快递订单付款方式搜索
    @FindBy(id = "yl_0427_51")
    @CacheLookup
    public WebElement input_paySource;
    //筛选按钮
    @FindBy(id = "yl_0427_53")
    @CacheLookup
    public WebElement btn_search_order;

    @FindBy(id = "tab-2")
    @CacheLookup
    public WebElement order_tab;

    //处方审核
    @FindBy(id = "ml_0511_nest3412")
    @CacheLookup
    public WebElement menu_RX;

    //搜索处方审核订单
    @FindBy(id = "yl_0429_01")
    @CacheLookup
    public WebElement input_rxNo;
    //筛选按钮
    @FindBy(id = "yl_0429_03")
    @CacheLookup
    public WebElement btn_RXSearch;
    //售后维权
    @FindBy(id = "ml_0511_nest3414")
    @CacheLookup
    public WebElement menu_afterSale;

    //售后搜索
    @FindBy(id = "yl_0429_08")
    @CacheLookup
    public WebElement input_saleNo;
    //筛选按钮
    @FindBy(id = "yl_0429_11")
    @CacheLookup
    public WebElement btn_saleSearch;

    //健康按钮
    @FindBy(id = "ml_0511_route21")
    @CacheLookup
    public WebElement menu_health;
    //处方笺状态搜索
    @FindBy(id = "ml_0511_search01")
    @CacheLookup
    public WebElement input_recipeState;
    //筛选按钮
    @FindBy(id = "ml_0511_search")
    @CacheLookup
    public WebElement btn_recipeSearch;
    //体检报告
    @FindBy(id = "ml_0511_nest341")
    @CacheLookup
    public WebElement menu_report;
    //体检报告姓名搜索
    @FindBy(id = "ml_0511_time03")
    @CacheLookup
    public WebElement input_reportName;
    //筛选按钮
    @FindBy(id = "ml_0511_time02")
    @CacheLookup
    public WebElement btn_reportSearch;
    //查看详情
    @FindBy(id = "yl_0429_2626")
    @CacheLookup
    public WebElement btn_reportDetail;
    //*[@id="app"]/div/div[2]/section/div[1]/div[1]/div[2]/form/div[1]/div
    @FindBy(xpath = "//*[@id=\"app\"]/div/div[2]/section/div[1]/div[1]/div[2]/form/div[1]/div")
    @CacheLookup
    public WebElement username;


//    @FindBy(className="login")
//    @CacheLookup
//    public WebElement login;
//    /**
//     * 审核管理模块元素
//     */
//    //入驻申请，搜索条件元素
//    @FindBy(xpath="/html/body/div/div/div[2]/ul/li[1]/span")
//    @CacheLookup
//    public WebElement shgl;
//    @FindBy(xpath="html/body/div/div/div[2]/ul/li[1]/ul/li[1]/span/a")
//    @CacheLookup
//    public WebElement rzsq;
//    @FindBy(className="city")
//    @CacheLookup
//    public WebElement city;
//    @FindBy(className="search")
//    @CacheLookup
//    public WebElement search;
//    @FindBy(className="blue_button")
//    @CacheLookup
//    public WebElement blue_button;
//    @FindBy(xpath="html/body/div/div/div[4]/div/div[2]/nav/ul/li[2]/span[3]")
//    @CacheLookup
//    public WebElement phone_result;
//    @FindBy(className="input")
//    public WebElement shengqingDate;
//    @FindBy(xpath="html/body/div/div/div[4]/div/div[1]/div[2]/div/div[2]/div[5]/ul[2]/li[22]/div/span")
//    public WebElement shiba;
//    @FindBy(className = "cancel-btn")
//    public WebElement cancel_btn;
//    //搜索结果,相对路径，双斜杠开头
//    @FindBy(xpath="//div[4]/div/div[2]/nav/ul/li[2]/span[7]")
//    public WebElement shibas;
//    @FindBy(xpath="//li[2]/span[4]")
//    public WebElement seller_result;
//    @FindBy(xpath="//li[2]/span[9]")
//    public WebElement approver_result;
//    //入驻申请，按照商家类型搜索元素
//    @FindBy(className="seller-select")
//    @CacheLookup
//    public WebElement seller_select;
//    @FindBy(xpath="//li[2]/span[5]")
//    @CacheLookup
//    public WebElement seller_select_result;






}
